# some icon used here
from PyQt4.QtGui import *
import os.path


class MyIcons:
    base = 'icons/'

    def __init__(self):
        self.icon_save = self.create_icon('save.png')
        self.icon_open = self.create_icon('open v2.png')
        self.icon_open_image = self.create_icon('open colors.png')
        self.icon_search = self.create_icon('search.png')
        self.icon_up = self.create_icon('up.png')
        self.icon_down = self.create_icon('down.png')
        self.icon_add = self.create_icon('plus.png')
        self.icon_remove = self.create_icon('minus.png')
        self.icon_options = self.create_icon('options.png')

    def create_icon(self, name):
        return QIcon(os.path.join(self.base, name))
